<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>我的订单</title>
    <!-- Fonts-->
    <link rel="stylesheet" th:href="@{/css/fontsgoogleapis.css}">
    <link rel="stylesheet" th:href="@{/plugins/font-awesome/css/font-awesome.min.css}">
    <link rel="stylesheet" th:href="@{/plugins/ps-icon/style.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/layui/css/layui.css}"/>
    <link rel="stylesheet" th:href="@{/plugins/bootstrap/dist/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/plugins/owl-carousel/assets/owl.carousel.css}">
    <link rel="stylesheet" th:href="@{/plugins/jquery-bar-rating/dist/themes/fontawesome-stars.css}">
    <link rel="stylesheet" th:href="@{/plugins/slick/slick/slick.css}">
    <link rel="stylesheet" th:href="@{/plugins/bootstrap-select/dist/css/bootstrap-select.min.css}">
    <link rel="stylesheet" th:href="@{/plugins/Magnific-Popup/dist/magnific-popup.css}">
    <link rel="stylesheet" th:href="@{/plugins/jquery-ui/jquery-ui.min.css}">
    <link rel="stylesheet" th:href="@{/plugins/revolution/css/settings.css}">
    <link rel="stylesheet" th:href="@{/plugins/revolution/css/layers.css}">
    <link rel="stylesheet" th:href="@{/plugins/revolution/css/navigation.css}">
    <link rel="stylesheet" th:href="@{/css/style.css}">
    <link rel="stylesheet" th:href="@{/css/gooddetail.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/font-awesome/css/font-awesome.css}"/>
    <script type="text/javascript" th:src="@{/plugins/jquery/dist/jquery.min.js}"></script>
    <script th:src="@{/js/html5shiv.js}"></script>
    <script th:src="@{/js/respond.min.js}"></script>
    <script th:inline="javascript">
        var basePath = [[${#httpServletRequest.getScheme() + "://" + #httpServletRequest.getServerName() + ":" + #httpServletRequest.getServerPort() + #httpServletRequest.getContextPath()}]];
        var userid = [[${session.userid}]]
    </script>
</head>
<body>
<!--主体部分-->

<main class="layui-fluid layui-row">
    <div class="layui-form">
        <div class="input-group-sm layui-col-md5 form-inline">
            <input type="text" class="form-control " placeholder="输入订单号检索" id="search" >
            <button class="btn btn-group form-control" type="button" id="btnSearch">搜索</button>
        </div>

        <div class="layui-col-md12 table">
            <table class="layui-table" id="orderList" lay-filter="table"></table>
        </div>
        <script type="text/html" id="operate">
            {{# if(d.aliPayment == null&&d.userid == userid){
            }} <a class="layui-btn layui-btn-xs" lay-event="pay">支付</a>
            <a class="layui-btn layui-btn-warm layui-btn-xs" lay-event="channel">取消</a>
            {{# }else if(d.userid == userid){}}
            <a class="layui-btn layui-btn-xs" lay-event="del">删除订单</a>
            <a class="layui-btn layui-btn-xs" lay-event="apply">申请退款</a>
            {{#}else{}}
                     <a class="layui-btn layui-btn-xs" lay-event="send">发货</a>
            {{#}}}
        </script>
    </div>
</main>

<!--todo 点击发货 通知买家 商品已发货请耐心等待-->

<!--主体部分end-->
<script type="text/javascript" th:src="@{/js/vue.js}"></script>
<script type="text/javascript" th:src="@{/layui/layui.js}"></script>
<script type="text/javascript" th:src="@{/js/userInfo/orderList.js}"></script>
</body>
</html>